package cn.b504.qpcr.exception;

/**
 * 仪器未注册异常类
 *
 * @author ssc
 */
public class DeviceUnregisterException extends UnregisterException {
  public DeviceUnregisterException() {
  }

  public DeviceUnregisterException(String message) {
    super(message);
  }

  public DeviceUnregisterException(String message, Throwable cause) {
    super(message, cause);
  }

  public DeviceUnregisterException(Throwable cause) {
    super(cause);
  }

  public DeviceUnregisterException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
    super(message, cause, enableSuppression, writableStackTrace);
  }

  public DeviceUnregisterException(String deviceId, String reason) {
    super("Device ID: " + deviceId + ((reason == null)
        ? ""
        : " (" + reason + ")"));
  }
}
